package cn.breeze.org.service.impl;

import cn.breeze.org.domain.ShopAuditLog;
import cn.breeze.org.mapper.ShopAuditLogMapper;
import cn.breeze.org.service.IShopAuditLogService;
import cn.breeze.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author breeze
 * @since 2022-07-02
 */
@Service
public class ShopAuditLogServiceImpl extends BaseServiceImpl<ShopAuditLog> implements IShopAuditLogService {

    @Autowired
    private ShopAuditLogMapper shopAuditLogMapper;

    /**
    * @Title: loadByShopId
    * @Description: 根据shopId查询
    * @Author: Mr.D
    * @Version: 1.0
    * @Date:  2022/7/3 20:15
    * @Parameters: [id]
    * @Return java.util.List<cn.breeze.org.domain.ShopAuditLog>
    */
    @Override
    public List<ShopAuditLog> loadByShopId(Long id) {
        return shopAuditLogMapper.loadByShopId(id);
    }
}
